#pragma once
#include <Winsock2.h>
#include <Windows.h>
#include <WS2tcpip.h>
#include <map>
#include <unordered_map>
#include <string>
#include <vector>

#define BIG_ENDIAN 0
#define LITTLE_ENDIAN 1
#define BYTE_ORDER 1

typedef unsigned char uchar;
typedef unsigned int uint32_t;
typedef unsigned long u_long;
typedef int int32_t;

#include "if_ether.h"
#include "ip.h"
#include "tcp.h"


#if 0//_MSC_PLATFORM_TOOLSET > 100
#include <mutex>
#endif

#define TCPBUFSIZE	(1<<14)

#ifdef _DEBUG
#define DEBUG_PRINT(...) printf(__VA_ARGS__)
#else
#define DEBUG_PRINT(...)
#endif

#define DEBUGFILE 0